package com.meeruu.sg.account.core.domain.component.lock;


import com.meeruu.sg.account.core.api.exception.AccountException;

/**
 * @Auther: liwu
 * @Date: 2019/4/18 10:00
 * @Description:
 */
@FunctionalInterface
public interface LockCallback<T>{
    /**
     * 业务调用
     *
     * @return 结果
     */
    T invoke() throws AccountException;
}
